package com.qf.service.serviceImpl;

import com.qf.dao.DogDao;
import com.qf.pojo.Details;
import com.qf.pojo.Dog;
import com.qf.service.DogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DogServiceImpl implements DogService {
    @Autowired
    DogDao dogDao;
    @Override
    public List<Dog> findAll() {
        return dogDao.findAll();
    }
}
